package com.itheima.comment.docs;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@Document("ap_comment_reply_like")
public class ApCommentReplyLikeDocument {

    /**
     * id
     */
    @Id
    private String id;

    /**
     * 用户ID 点赞的用户ID
     */
    private Integer authorId;

    /**
     * 针对的是哪一条回复 点赞
     */
    private String commentReplyId;

    /**
     * 0：点赞
     * 1：取消点赞
     */
    private Integer operation;
}